﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Yahoo.Yui.CompressorConsole
{
    public class YuiFile
    { 
        /// <summary>
        /// 文件路径
        /// </summary>
        public string Path { get; set; }
        /// <summary>
        /// 默认的文件编码方式
        /// </summary>
        public Encoding Encoding { get; set; }
        /// <summary>
        /// 是否自动覆盖源文件
        /// </summary>
        public bool Overwrite { get; set; }
        /// <summary>
        /// 新生成文件的扩展名，overwrite为false时才会发生作用
        /// </summary>
        public string Ext { get; set; }
        /// <summary>
        /// 文件是否存在
        /// </summary>
        public bool Exist { get; set; }
    }
}
